<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>凯盛项目管理系统</title>
  <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <style>
    body{
        width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
   .btn{
      margin-left: 90px;

   }
   .form-actions{
      background-color: #fff;
      border-top: 0px solid #E5E5E5;
   }
  </style>
</head>
<body class="body">
	
	<%@ include file="include/top.jsp" %>  
  <div class="container" style="padding-top:10px">
    <div class="row">
    <div class="span3">
     	<%@ include file="include/left.jsp" %>
    </div>
    <div class="span9" >
    <form class="form-horizontal" style="background-color:white;" action="saveGoal.jspx" method="post">
        <fieldset style="width:700px">
          <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
              <li class="active">
                <h3>修改目标</h3>
              </li>
         </ul>
         <div class="control-group" hidden>
            <label class="control-label" for="input01">目标ID</label>
            <div class="controls">
            	<input type="text" class="span5" name="id" value="${requestScope.curr_goal.id }" x-webkit-speech="undefined">
            </div>
          </div>
       
         <div class="control-group" style="margin-top:30px">
            <label class="control-label" for="input01">目标名称</label>
            <div class="controls">
              <input type="text" class="span5" id="input01" name="title" value="${requestScope.curr_goal.title }" x-webkit-speech="undefined">
              <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="input01">目标描述</label>
            <div class="controls">
              <textarea class="span5" rows="8" name="description" style="padding:5px">${requestScope.curr_goal.description }</textarea>
            </div>
          </div>
       
          <div class="form-actions" style="width:500px">
            <input type="button" class="btn btn-primary" id="save" value="保&nbsp;存"/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="button" class="btn" id="cancle" style="margin-left:-10px" value="返&nbsp;回"/>
          </div>
        </fieldset>
      </form>          
    </div>
	</div>
  </div>
	<%@ include file="include/footer.jsp" %>
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/bootstrap.min.js"></script>
  <script type="text/javascript">
    $(document).ready(function(){
		$("#input01").select();
		
		$("#save").click(function(){
			$(".form-horizontal").submit();
		});
		$("#cancle").click(function(){
			history.back();
		});
		
    });
  </script>
</body>
</html>
